<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			uni.clearStorageSync('newCurrentIndex')
			uni.hideTabBar({
				animation: false
			})
			uni.setTabBarItem({
			        index:1, //从左到右 0开始
			        visible:false //默认true false隐藏
			})
		},
		onLoad: function() {
			console.log('App onLoad')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		globalData:{
			statusBarHeight:uni.getSystemInfoSync().statusBarHeight
		}
	}
</script>

<style>
	body{
		font-size: 12px;
		color: #666;
	}
	.page-btn {
		width: 145px;
		height: 40px;
		line-height: 40px;
		font-size: 14px;
		color: #fff;
		text-align: center;
		background: linear-gradient(to right, #06C5EA,#2456E0);
		border-radius: 30px;
		box-shadow: 0 2px 6px 1px #0A19421A;
		margin: 20px auto;
	}
</style>